
// Boost Includes ==============================================================
#include <boost/python.hpp>
#include <boost/cstdint.hpp>

// Includes ====================================================================
#include <OpenSG/OSGComponentTransform.h>
#include <OpenSG/OSGComponentTransformBase.h>
#include <OsgPtrHelpers.h>

// Using =======================================================================
using namespace boost::python;

// Declarations ================================================================
namespace  {

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_ComponentTransform_dump_overloads_0_2, dump, 0, 2)


}// namespace


// Module ======================================================================
void Export_src_pyste_gen_ComponentTransform()
{
    scope* osg_ComponentTransformBase_scope = new scope(
    class_< osg::ComponentTransformBase, bases< osg::Transform > , boost::noncopyable >("ComponentTransformBase", no_init)
//        .def_readonly("CenterFieldMask", &osg::ComponentTransformBase::CenterFieldMask)
//        .def_readonly("RotationFieldMask", &osg::ComponentTransformBase::RotationFieldMask)
//        .def_readonly("ScaleFieldMask", &osg::ComponentTransformBase::ScaleFieldMask)
//        .def_readonly("ScaleOrientationFieldMask", &osg::ComponentTransformBase::ScaleOrientationFieldMask)
//        .def_readonly("TranslationFieldMask", &osg::ComponentTransformBase::TranslationFieldMask)
//        .def_readonly("MTInfluenceMask", &osg::ComponentTransformBase::MTInfluenceMask)
        .def("getClassType", &osg::ComponentTransformBase::getClassType, return_internal_reference< 1 >())
        .def("getClassTypeId", &osg::ComponentTransformBase::getClassTypeId)
        .def("getType", (osg::FieldContainerType& (osg::ComponentTransformBase::*)() )&osg::ComponentTransformBase::getType, return_internal_reference< 1 >())
        .def("getType", (const osg::FieldContainerType& (osg::ComponentTransformBase::*)() const)&osg::ComponentTransformBase::getType, return_internal_reference< 1 >())
        .def("getContainerSize", &osg::ComponentTransformBase::getContainerSize)
        //.def("getCenter", (osg::Vec3f& (osg::ComponentTransformBase::*)() )&osg::ComponentTransformBase::getCenter, return_value_policy< copy_const_reference >())
        .def("getCenter", (const osg::Vec3f& (osg::ComponentTransformBase::*)() const)&osg::ComponentTransformBase::getCenter, return_value_policy< copy_const_reference >())
        //.def("getRotation", (osg::Quaternion& (osg::ComponentTransformBase::*)() )&osg::ComponentTransformBase::getRotation, return_value_policy< copy_const_reference >())
        .def("getRotation", (const osg::Quaternion& (osg::ComponentTransformBase::*)() const)&osg::ComponentTransformBase::getRotation, return_value_policy< copy_const_reference >())
        //.def("getScale", (osg::Vec3f& (osg::ComponentTransformBase::*)() )&osg::ComponentTransformBase::getScale, return_value_policy< copy_const_reference >())
        .def("getScale", (const osg::Vec3f& (osg::ComponentTransformBase::*)() const)&osg::ComponentTransformBase::getScale, return_value_policy< copy_const_reference >())
        //.def("getScaleOrientation", (osg::Quaternion& (osg::ComponentTransformBase::*)() )&osg::ComponentTransformBase::getScaleOrientation, return_value_policy< copy_const_reference >())
        .def("getScaleOrientation", (const osg::Quaternion& (osg::ComponentTransformBase::*)() const)&osg::ComponentTransformBase::getScaleOrientation, return_value_policy< copy_const_reference >())
        //.def("getTranslation", (osg::Vec3f& (osg::ComponentTransformBase::*)() )&osg::ComponentTransformBase::getTranslation, return_value_policy< copy_const_reference >())
        .def("getTranslation", (const osg::Vec3f& (osg::ComponentTransformBase::*)() const)&osg::ComponentTransformBase::getTranslation, return_value_policy< copy_const_reference >())
        .def("setCenter", &osg::ComponentTransformBase::setCenter)
        .def("setRotation", &osg::ComponentTransformBase::setRotation)
        .def("setScale", &osg::ComponentTransformBase::setScale)
        .def("setScaleOrientation", &osg::ComponentTransformBase::setScaleOrientation)
        .def("setTranslation", &osg::ComponentTransformBase::setTranslation)
        .def("getBinSize", &osg::ComponentTransformBase::getBinSize)
        .def("copyToBin", &osg::ComponentTransformBase::copyToBin)
        .def("copyFromBin", &osg::ComponentTransformBase::copyFromBin)
        .def("create", &osg::ComponentTransformBase::create)
        .def("createEmpty", &osg::ComponentTransformBase::createEmpty)
        .def("shallowCopy", &osg::ComponentTransformBase::shallowCopy)
        .staticmethod("getClassType")
        .staticmethod("create")
        .staticmethod("createEmpty")
        .staticmethod("getClassTypeId")
    );

    scope().attr("ScaleOrientationFieldId") = (int)osg::ComponentTransformBase::ScaleOrientationFieldId;
    scope().attr("ScaleFieldId") = (int)osg::ComponentTransformBase::ScaleFieldId;
    scope().attr("NextFieldId") = (int)osg::ComponentTransformBase::NextFieldId;
    scope().attr("RotationFieldId") = (int)osg::ComponentTransformBase::RotationFieldId;
    scope().attr("CenterFieldId") = (int)osg::ComponentTransformBase::CenterFieldId;
    scope().attr("TranslationFieldId") = (int)osg::ComponentTransformBase::TranslationFieldId;

    delete osg_ComponentTransformBase_scope;

    class_< osg::ComponentTransform, bases< osg::ComponentTransformBase > , boost::noncopyable, osg::ComponentTransformRefPtr >("ComponentTransform", no_init)
        .def("changed", &osg::ComponentTransform::changed)
        .def("dump", &osg::ComponentTransform::dump, osg_ComponentTransform_dump_overloads_0_2())
    ;


    register_ptr_to_python<osg::ComponentTransformPtr>();
    implicitly_convertible<osg::ComponentTransformRefPtr, osg::ComponentTransformPtr>();
    implicitly_convertible<osg::ComponentTransformPtr, osg::TransformPtr>();

    def("RefPtr", &pyopensg::ToRefPtr<osg::ComponentTransformPtr>);
    def("FCPtr", &pyopensg::ToFcPtr<osg::ComponentTransformPtr>);
}

